/*!
 * tykhome - soft_tag.js
 * Author tykhome <yongketian@gmail.com>
 */

/**
 * Module dependencies.
 */
 
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var ObjectId = Schema.ObjectId;

var SoftTagSchema = new Schema({
	soft_id: { type: ObjectId },
	tag_id: { type: ObjectId },
	create_at: { type: Date, default: Date.now }
});

mongoose.model('SoftTag', SoftTagSchema);
